package io;

public abstract class FastFood implements java.io.Serializable {
	
	private transient float price;
	private String desc;
	public FastFood(float price, String desc) {
		super();
		this.price = price;
		this.desc = desc;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	@Override
	public String toString() {
		return "FastFood [price=" + price + ", desc=" + desc + "]";
	}
	
	public abstract float cast();

}
